﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace lazy02
{
    class Program
    {
        static void Main(string[] args)
        {
            Roundness radius = new Roundness();
            Console.WriteLine("请输入半径");
            radius.Radius = double.Parse(Console.ReadLine());
            radius.Color = "白色";
            radius.GetArea(radius.Radius);
            Console.WriteLine(radius.Color);

            Square square = new Square();
            Console.WriteLine("请输入边长");
            square.SideLen = double.Parse(Console.ReadLine());
            square.Color = "黑色";
            square.GetArea(square.SideLen);
            Console.WriteLine(square.Color);
        }
    }
}
